package com.sc.study.ar.domain;

import com.sc.study.foundation.domain.ScViolationType;
import com.sc.study.student.domain.ScStudent;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sc.common.annotation.Excel;
import com.sc.common.core.domain.BaseEntity;

/**
 * 违纪登记对象 sc_violation_register
 * 
 * @author sc
 * @date 2022-03-14
 */
public class ScViolationRegister extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 违纪类型编号 */
    @Excel(name = "违纪类型编号")
    private Long violationtypeid;

    /** 学员编号 */
    @Excel(name = "学员编号")
    private Long studentid;

    /** 违纪时间 */
    @Excel(name = "违纪时间")
    private String violationtime;

    /** 违纪描述 */
    @Excel(name = "违纪描述")
    private String info;

    /** 违纪图片 */
    @Excel(name = "违纪图片")
    private String images;

    //违纪类型
    private ScViolationType violationType;

    //学生
    private ScStudent student;

    public ScViolationType getViolationType() {
        return violationType;
    }

    public void setViolationType(ScViolationType violationType) {
        this.violationType = violationType;
    }

    public ScStudent getStudent() {
        return student;
    }

    public void setStudent(ScStudent student) {
        this.student = student;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setViolationtypeid(Long violationtypeid) 
    {
        this.violationtypeid = violationtypeid;
    }

    public Long getViolationtypeid() 
    {
        return violationtypeid;
    }
    public void setStudentid(Long studentid) 
    {
        this.studentid = studentid;
    }

    public Long getStudentid() 
    {
        return studentid;
    }
    public void setViolationtime(String violationtime) 
    {
        this.violationtime = violationtime;
    }

    public String getViolationtime() 
    {
        return violationtime;
    }
    public void setInfo(String info) 
    {
        this.info = info;
    }

    public String getInfo() 
    {
        return info;
    }
    public void setImages(String images) 
    {
        this.images = images;
    }

    public String getImages() 
    {
        return images;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("violationtypeid", getViolationtypeid())
            .append("studentid", getStudentid())
            .append("violationtime", getViolationtime())
            .append("info", getInfo())
            .append("images", getImages())
            .toString();
    }
}
